﻿#region

using Autofac;
using HouseHoldBudget.Core.Infrastructure;
using HouseHoldBudget.Core.Infrastructure.DependencyManagement;

#endregion

namespace HouseHoldBudget.Infrastructure
{
    public class DependencyRegistar : IDependencyRegistrar
    {
        #region IDependencyRegistrar Members

        public int Order
        {
            get
            {
                return 2;
            }
        }

        public void Register(ContainerBuilder builder, ITypeFinder typeFinder)
        {
            builder.RegisterType<LocalizationService>().As<ILocalizationService>();
        }

        #endregion
    }
}